package com.hmdp.service;

public interface ILock {

    //尝试获取锁
    boolean tryLock(long timeout);
    //释放锁

    void unlock();
}
